package com.deram.ctin.serv.enter.service;

import com.deram.ctin.common.bean.PageResult;
import com.deram.ctin.serv.enter.entity.BaseUpdateInfo;
import com.deram.ctin.serv.enter.entity.EnterPerson;
import com.deram.ctin.serv.enter.filter.EnterPersonFilter;

import java.util.List;

/**
 * @Author: jtt
 * @Description:
 * @Date: 2017/9/13 11:20
 * @version: V1.0
 */
public interface EnterPersonService {

    EnterPerson find(Long id);

    List<EnterPerson> list(EnterPersonFilter filter);

    EnterPerson save(EnterPerson param);

    void delete(Long id);

    void deleteByEnterId(Long id);

    void saveList(BaseUpdateInfo<EnterPerson> updateInfo);

    PageResult<EnterPerson> search(EnterPersonFilter filter, Integer pageNo, Integer pageSize);
}
